import request from '../../utils/request';
/** 公用流程审批 管理  */

//  列表查询 
export function getList (params){
    console.log(params)
    return request({
        url:"/sys/iaFarmerLoans/getPageByMyCheck.do",
        method: 'get',
        params: params
    });

};

// 获取流程审批详情 
export function getAuditDetails (params){
    console.log(params)
    return request({
        url:"/sys/iaFarmerLoans/detail.do",
        method: 'get',
        params: params
    });

};


// 通过 / 驳回流程 审核信息
export function approveOrRejectAudit (params){
    return request({
        url:"/sys/iaFarmerLoans/check.do",
        method: 'PUT',
        params: params
    });
};



// 无金额 额度
export function noMoneyAudit (params){
    return request({
        url:"/sys/iaFarmerLoans/nomoney.do",
        method: 'PUT',
        params: params
    });
};


// 选择资金方列表
export function zjfInfoList (params){
    return request({
        url:"/sys/fundingPartyMerchant/findIaFarmProductsPurchaseListByFlow.do",
        method: 'get',
        params: params
    });
};


// 查看合同
export function zjfFile (params){
    return request({
        url:"/sys/file/new/down",
        method: 'get',
        params: params
    });
};